package com.example.hxpc.guidancemanagement.model;

import java.util.List;

/**
 * Created by tao on 2017/11/26.
 * json解析的基类
 */

public class JsonBase {
    private String code;
    private String msg;
    private String success;
    private Data data;

    public void setCode(String code){
        this.code = code;
    }
    public String getCode(){
        return code;
    }
    public void setMsg(String msg){
        this.msg = msg;
    }
    public String getMsg(){
        return msg;
    }
    public void setSuccess(String success){
        this.success = success;
    }
    public String getSuccess(){
        return success;
    }
    public void setData(Data data){this.data = data;}
    public Data getData(){return data;}

    public class Data {
        private String uid;//用户uid
        private String name;//用户名
        private String telephone;//用户登录手机号
        private String password;//用户登录密码
        private int flg;//用户类型标志
        private String headPhoto;//用户头像地址
        private String projectName;//项目名称
        private String join_num;//参与人数
        private String teacher;//指导老师
        private String state;//项目状态
        private String photoPath;//项目图片
        private String content;//项目内容
        private String contentPhotoPath;//项目内容图片
        private String resourcePath;//项目资源路径
        private String personName;//优秀人物名称
        private String personBrief;//优秀人物简介
        private String personDetail;//优秀人物详情
        private String personPhoto;//优秀人物照片
        private String time;//活动发表时间
        private String photo_path;//活动发表的图片
        private String use_photo;//活动发表人头像
        private String id;//活动ID
        private String path;//项目路径

        public void setPath(String path){this.path = path;}
        public String getPath(){return path;}
        public void setId(String id){ this.id = id ;}
        public String getId(){ return  id ;}
        public void setUse_photo(String use_photo){
            this.use_photo = use_photo;
        }
        public String getUse_photo(){
            return use_photo;
        }
        public void setTime(String time){
            this.time = time;
        }
        public String getTime(){
            return time;
        }
        public void setPhoto_path(String photo_path){
            this.photo_path = photo_path;
        }
        public String getPhoto_path(){
            return photo_path;
        }

        public void setPersonName(String personName){
            this.personName = personName;
        }
        public String getPersonName(){
            return personName;
        }
        public void setPersonBrief(String personBrief){
            this.personBrief = personBrief;
        }
        public String getPersonBrief(){
            return personBrief;
        }
        public void setPersonDetail(String personDetail){
            this.personDetail = personDetail;
        }
        public String getPersonDetail(){
            return personDetail;
        }
        public void setPersonPhoto(String personPhoto){
            this.personPhoto = personPhoto;
        }
        public String getPersonPhoto(){
            return personPhoto;
        }

        public void setPhotoPath(String photoPath){ this.photoPath = photoPath ;}
        public String getPhotoPath(){ return  photoPath ;}
        public void setContent(String content){ this.content = content ;}
        public String getContent(){ return  content ;}
        public void setContentPhotoPath(String contentPhotoPath){ this.contentPhotoPath = contentPhotoPath ;}
        public String getContentPhotoPath(){ return  contentPhotoPath ;}
        public void setResourcePath( String resourcePath){ this.resourcePath = resourcePath ;}
        public String getResourcePath(){ return resourcePath ;}

        public void setProjectName(String projectName){
            this.projectName = projectName;
        }
        public String getProjectName(){
            return projectName;
        }
        public void setJoin_num(String join_num){
            this.join_num = join_num;
        }
        public String getJoin_num(){
            return join_num;
        }
        public void setTeacher(String teacher){
            this.teacher = teacher;
        }
        public String getTeacher(){
            return teacher;
        }
        public void setState(String state){
            this.state = state;
        }
        public String getState(){
            return state;
        }

        public void setHeadPhoto(String headPhoto){ this.headPhoto = headPhoto ;}
        public String getHeadPhoto(){return headPhoto;}

        public void setUid(String uid){
                this.uid = uid;
        }
        public String getUid(){
            return uid;
        }

        public void setName(String name ){
            this.name = name;
        }
        public String getName(){
            return name;
        }

        public void setTelephone(String telephone){
            this.telephone = telephone;
        }
        public String getTelephone(){
            return telephone;
        }

        public void setPassword(String password){
            this.password = password;
        }
        public String getPassword(){
            return password;
        }

        public void setFlg(int flg){
            this.flg = flg;
        }
        public int getFlg(){
            return flg;
        }

    }
}
